home *** CD-ROM | disk | FTP | other *** search
- Path: news.infinet.com!usenet
- From: Paul Swetnam <pswetnam@infinet.com>
- Newsgroups: comp.sys.m68k
- Subject: Re: Bus Error Handler for 68040
- Date: Fri, 02 Feb 1996 08:36:56 -0800
- Organization: Aeroflex Lintek Corp.
- Message-ID: <31123DA8.7BA1@infinet.com>
- References: <30FFE81F.4110@infinet.com> <823212746.11237@fpfnet.demon.co.uk>
- NNTP-Posting-Host: cmh-p095.infinet.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6b (Win16; I)
-
- Robert Cragie wrote:
- >
- > Sometime ago, I wrote a bus error handler for the 68EC030, which may
- > well be similar. I tried using the stack fiddling technique (OK on
- > 68000), but it didn't work. Browsing the data book revealed that the
- > DF (Data Fault re-run) bit of the stacked SSW (Special Statue Word)
- > has to be cleared before doing the RTE. The following bit of code
- > worked OK. It assumed that d2 was set to a 'magic' value before
- > attempting a 'wary' access to detect possibly legitimate bus errors
- > due to non-existent VME boards for example.
-
- Your technique works great for the 68030 (in fact we used a very
- similar in an earlier 68020 based system). However, there is no
- equivalent to the DF bit in the 68040 stack frame. The 68040 executes
- code in a different manor than the 68030 and it's predecessors which
- makes the techniques we used for the 68020 unusable.
-
- (However, I think I fully understand my problem now. See my follow up
- post on the main message thread)
-
- Will Koehler
- Design Engineer
- Aeroflex Lintek Corp.
-
-
-